/*
* Copyright 2008 Google Inc. 
* Licensed under the Apache License, Version 2.0:
*  http://www.apache.org/licenses/LICENSE-2.0
*/
package mapa   {

import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;

/**
 * InfoWindowSprite is a sprite that contains sub sprites that function as tabs.
 */
public class CustomIcon extends Sprite {
  [Embed('play.png')] private var TestImg:Class;
  
  
  public function CustomIcon() {
  	addChild(new TestImg());
  	
  	var radius:int = 60;
    var labelMc:TextField = new TextField();
    labelMc.autoSize = TextFieldAutoSize.LEFT;
    labelMc.selectable = false;
    labelMc.border = false;
    labelMc.embedFonts = false;
    labelMc.mouseEnabled = false;
    labelMc.width = radius;
    labelMc.height = radius;
   
    labelMc.x = 9;
    labelMc.y = 6;
    addChild(labelMc);
    cacheAsBitmap = true;
  }
  
}

}
